<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
    <h1>文件上传案例</h1>
    <h2><a href="/user/download">文件下载</a></h2>
    <form action="user/upload" method="post" enctype="multipart/form-data">
        <label>账号:</label><input type="text" name="username"><br/>user.ftl
        <label>照片:</label><input type="file" name="multipartFile"><br/>
        <input type="submit" value="提交">
    </form>
</body>
</html>